package com.eshop.web.page;

import com.eshop.web.page.template.LeftCenterColumns;
import org.apache.wicket.authroles.authorization.strategies.role.annotations.AuthorizeInstantiation;
import org.apache.wicket.markup.html.basic.Label;

/**
 * Created with IntelliJ IDEA.
 * User: Sergey
 * Date: 24.10.13
 * Time: 12:22
 * To change this template use File | Settings | File Templates.
 */
@AuthorizeInstantiation("ROLE_ADMIN")
public class AdminPage extends LeftCenterColumns {
    public AdminPage() {
        mainMarkupContainer.add(new Label("leftSidebarName", "Категории товаров"));

        mainMarkupContainer.add(new Label("leftSidebarContent", "Категории товаров"));
    }
}
